package geektime;

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;

/**
 * @Author chenlin
 * @Date 2022/3/16 22:43
 * @Description //TODO
 */
public class WeatherAutoConfiguration {

    @Inject
    private WeatherProperties properties;

    @ApplicationScoped
    public WeatherService weatherService(){
        return new WeatherService(properties);
    }
}
